<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{saleLoanOfferBean.id}"/>
		<f:event type="preRenderView" listener="#{saleLoanOfferBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sale Loan Offer"/>

	<ui:define name="header">
		Sale Loan Offer
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty saleLoanOfferBean.id}">
				Edit existing Sale Loan Offer
			</c:when>
			<c:otherwise>
				Create a new Sale Loan Offer
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferRecNo" value="Rec No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferRecNo" required="true" value="#{saleLoanOfferBean.saleLoanOffer.recNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferRecNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferHrEmp" value="Hr Emp:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{hrEmpBean.converter}" id="saleLoanOfferBeanSaleLoanOfferHrEmp" value="#{saleLoanOfferBean.saleLoanOffer.hrEmp}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{hrEmpBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanOfferBeanSaleLoanOfferHrEmp" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferSysCust" value="Sys Cust:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysCustBean.converter}" id="saleLoanOfferBeanSaleLoanOfferSysCust" value="#{saleLoanOfferBean.saleLoanOffer.sysCust}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysCustBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanOfferBeanSaleLoanOfferSysCust" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferSysVehicleBrand" value="Sys Vehicle Brand:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysVehicleBrandBean.converter}" id="saleLoanOfferBeanSaleLoanOfferSysVehicleBrand" value="#{saleLoanOfferBean.saleLoanOffer.sysVehicleBrand}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysVehicleBrandBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanOfferBeanSaleLoanOfferSysVehicleBrand" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferSysOrg" value="Sys Org:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysOrgBean.converter}" id="saleLoanOfferBeanSaleLoanOfferSysOrg" value="#{saleLoanOfferBean.saleLoanOffer.sysOrg}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysOrgBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanOfferBeanSaleLoanOfferSysOrg" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferSaleConditionType" value="Sale Condition Type:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{saleConditionTypeBean.converter}" id="saleLoanOfferBeanSaleLoanOfferSaleConditionType" value="#{saleLoanOfferBean.saleLoanOffer.saleConditionType}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{saleConditionTypeBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanOfferBeanSaleLoanOfferSaleConditionType" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanContractGrpNo" value="Loan Contract Grp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanContractGrpNo" value="#{saleLoanOfferBean.saleLoanOffer.loanContractGrpNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanContractGrpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferRecDate" value="Rec Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferRecDate" maxLength="19" value="#{saleLoanOfferBean.saleLoanOffer.recDate}">
						<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
					</h:inputText>
					<h:message for="saleLoanOfferBeanSaleLoanOfferRecDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanTypeNo" value="Loan Type No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanTypeNo" required="true" value="#{saleLoanOfferBean.saleLoanOffer.loanTypeNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferCustAge" value="Cust Age:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferCustAge" value="#{saleLoanOfferBean.saleLoanOffer.custAge}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferCustAge" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanReqTypeNo" value="Loan Req Type No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanReqTypeNo" value="#{saleLoanOfferBean.saleLoanOffer.loanReqTypeNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanReqTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanReqDocCode01" value="Loan Req Doc Code 01:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanReqDocCode01" maxLength="50" value="#{saleLoanOfferBean.saleLoanOffer.loanReqDocCode01}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanReqDocCode01" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanReqDocCode02" value="Loan Req Doc Code 02:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanReqDocCode02" maxLength="50" value="#{saleLoanOfferBean.saleLoanOffer.loanReqDocCode02}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanReqDocCode02" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleRateNo" value="Vehicle Rate No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleRateNo" value="#{saleLoanOfferBean.saleLoanOffer.vehicleRateNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleRateNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleTypeNo" value="Vehicle Type No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleTypeNo" value="#{saleLoanOfferBean.saleLoanOffer.vehicleTypeNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleGearTypeNo" value="Vehicle Gear Type No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleGearTypeNo" value="#{saleLoanOfferBean.saleLoanOffer.vehicleGearTypeNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleGearTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleNumber" value="Vehicle Number:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleNumber" maxLength="100" value="#{saleLoanOfferBean.saleLoanOffer.vehicleNumber}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleNumber" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleModelCode" value="Vehicle Model Code:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleModelCode" maxLength="100" value="#{saleLoanOfferBean.saleLoanOffer.vehicleModelCode}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleModelCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleMachineNumber" value="Vehicle Machine Number:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleMachineNumber" maxLength="50" value="#{saleLoanOfferBean.saleLoanOffer.vehicleMachineNumber}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleMachineNumber" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleAllowSalePrice" value="Vehicle Allow Sale Price:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleAllowSalePrice" value="#{saleLoanOfferBean.saleLoanOffer.vehicleAllowSalePrice}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleAllowSalePrice" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleColorNo" value="Vehicle Color No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleColorNo" value="#{saleLoanOfferBean.saleLoanOffer.vehicleColorNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleColorNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleColorComment" value="Vehicle Color Comment:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleColorComment" maxLength="100" value="#{saleLoanOfferBean.saleLoanOffer.vehicleColorComment}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleColorComment" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferVehicleAssetLife" value="Vehicle Asset Life:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferVehicleAssetLife" value="#{saleLoanOfferBean.saleLoanOffer.vehicleAssetLife}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferVehicleAssetLife" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferMotorVehicleRegistration" value="Motor Vehicle Registration:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferMotorVehicleRegistration" maxLength="20" value="#{saleLoanOfferBean.saleLoanOffer.motorVehicleRegistration}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferMotorVehicleRegistration" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanAllowRatePerc" value="Loan Allow Rate Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanAllowRatePerc" value="#{saleLoanOfferBean.saleLoanOffer.loanAllowRatePerc}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanAllowRatePerc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferCarRegistration" value="Car Registration:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferCarRegistration" maxLength="20" value="#{saleLoanOfferBean.saleLoanOffer.carRegistration}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferCarRegistration" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferCarRegistrationDate" value="Car Registration Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferCarRegistrationDate" maxLength="10" value="#{saleLoanOfferBean.saleLoanOffer.carRegistrationDate}">
						<f:convertDateTime type="date"/>
					</h:inputText>
					<h:message for="saleLoanOfferBeanSaleLoanOfferCarRegistrationDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferCarRegistrationProvinceNo" value="Car Registration Province No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferCarRegistrationProvinceNo" value="#{saleLoanOfferBean.saleLoanOffer.carRegistrationProvinceNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferCarRegistrationProvinceNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferCarPossessDate" value="Car Possess Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferCarPossessDate" maxLength="10" value="#{saleLoanOfferBean.saleLoanOffer.carPossessDate}">
						<f:convertDateTime type="date"/>
					</h:inputText>
					<h:message for="saleLoanOfferBeanSaleLoanOfferCarPossessDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanValAllowMin" value="Loan Val Allow Min:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanValAllowMin" value="#{saleLoanOfferBean.saleLoanOffer.loanValAllowMin}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanValAllowMin" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanValAllowMax" value="Loan Val Allow Max:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanValAllowMax" value="#{saleLoanOfferBean.saleLoanOffer.loanValAllowMax}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanValAllowMax" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferCreditAnalystEmpNo" value="Credit Analyst Emp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferCreditAnalystEmpNo" value="#{saleLoanOfferBean.saleLoanOffer.creditAnalystEmpNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferCreditAnalystEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferApprovedLevelNo" value="Approved Level No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferApprovedLevelNo" value="#{saleLoanOfferBean.saleLoanOffer.approvedLevelNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferApprovedLevelNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanVal" value="Loan Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanVal" value="#{saleLoanOfferBean.saleLoanOffer.loanVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTerm" value="Term:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTerm" value="#{saleLoanOfferBean.saleLoanOffer.term}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTerm" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferInterestPerc" value="Interest Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferInterestPerc" value="#{saleLoanOfferBean.saleLoanOffer.interestPerc}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferInterestPerc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFeePerc" value="Loan Fee Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFeePerc" value="#{saleLoanOfferBean.saleLoanOffer.loanFeePerc}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFeePerc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFeePersonExtra1Val" value="Loan Fee Person Extra 1Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFeePersonExtra1Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFeePersonExtra1Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFeePersonExtra1Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFeePersonExtra2Val" value="Loan Fee Person Extra 2Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFeePersonExtra2Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFeePersonExtra2Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFeePersonExtra2Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferPrincipalPerMonth" value="Principal Per Month:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferPrincipalPerMonth" value="#{saleLoanOfferBean.saleLoanOffer.principalPerMonth}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferPrincipalPerMonth" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferInstallmentPerMonth" value="Installment Per Month:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferInstallmentPerMonth" value="#{saleLoanOfferBean.saleLoanOffer.installmentPerMonth}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferInstallmentPerMonth" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTotalLoanFeeVal" value="Total Loan Fee Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTotalLoanFeeVal" value="#{saleLoanOfferBean.saleLoanOffer.totalLoanFeeVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTotalLoanFeeVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTotalInterestVal" value="Total Interest Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTotalInterestVal" value="#{saleLoanOfferBean.saleLoanOffer.totalInterestVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTotalInterestVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTotalLoanVal" value="Total Loan Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTotalLoanVal" value="#{saleLoanOfferBean.saleLoanOffer.totalLoanVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTotalLoanVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFee01Perc" value="Loan Fee 01Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFee01Perc" value="#{saleLoanOfferBean.saleLoanOffer.loanFee01Perc}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFee01Perc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFee01Val" value="Loan Fee 01Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFee01Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFee01Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFee01Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFee02Val" value="Loan Fee 02Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFee02Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFee02Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFee02Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFee03Val" value="Loan Fee 03Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFee03Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFee03Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFee03Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFee04Val" value="Loan Fee 04Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFee04Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFee04Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFee04Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFee05Val" value="Loan Fee 05Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFee05Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFee05Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFee05Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFeeAssetExtra1Val" value="Loan Fee Asset Extra 1Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFeeAssetExtra1Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFeeAssetExtra1Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFeeAssetExtra1Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFeeAssetExtra2Val" value="Loan Fee Asset Extra 2Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFeeAssetExtra2Val" value="#{saleLoanOfferBean.saleLoanOffer.loanFeeAssetExtra2Val}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFeeAssetExtra2Val" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanExtVal" value="Loan Ext Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanExtVal" value="#{saleLoanOfferBean.saleLoanOffer.loanExtVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanExtVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTermExt" value="Term Ext:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTermExt" value="#{saleLoanOfferBean.saleLoanOffer.termExt}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTermExt" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferInterestExtPerc" value="Interest Ext Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferInterestExtPerc" value="#{saleLoanOfferBean.saleLoanOffer.interestExtPerc}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferInterestExtPerc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanFeeExtPerc" value="Loan Fee Ext Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanFeeExtPerc" value="#{saleLoanOfferBean.saleLoanOffer.loanFeeExtPerc}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanFeeExtPerc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferPrincipalExtPerMonth" value="Principal Ext Per Month:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferPrincipalExtPerMonth" value="#{saleLoanOfferBean.saleLoanOffer.principalExtPerMonth}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferPrincipalExtPerMonth" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferInstallmentExtPerMonth" value="Installment Ext Per Month:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferInstallmentExtPerMonth" value="#{saleLoanOfferBean.saleLoanOffer.installmentExtPerMonth}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferInstallmentExtPerMonth" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTotalLoanFeeExtVal" value="Total Loan Fee Ext Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTotalLoanFeeExtVal" value="#{saleLoanOfferBean.saleLoanOffer.totalLoanFeeExtVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTotalLoanFeeExtVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTotalInterestExtVal" value="Total Interest Ext Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTotalInterestExtVal" value="#{saleLoanOfferBean.saleLoanOffer.totalInterestExtVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTotalInterestExtVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferTotalLoanExtVal" value="Total Loan Ext Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferTotalLoanExtVal" value="#{saleLoanOfferBean.saleLoanOffer.totalLoanExtVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferTotalLoanExtVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferLoanOfferStatusNo" value="Loan Offer Status No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferLoanOfferStatusNo" value="#{saleLoanOfferBean.saleLoanOffer.loanOfferStatusNo}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferLoanOfferStatusNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusIsUsedDiscretion" value="Status Is Used Discretion:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusIsUsedDiscretion" value="#{saleLoanOfferBean.saleLoanOffer.statusIsUsedDiscretion}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusIsUsedDiscretion" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusCase01" value="Status Case 01:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusCase01" value="#{saleLoanOfferBean.saleLoanOffer.statusCase01}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusCase01" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusCase02" value="Status Case 02:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusCase02" value="#{saleLoanOfferBean.saleLoanOffer.statusCase02}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusCase02" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusCase03" value="Status Case 03:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusCase03" value="#{saleLoanOfferBean.saleLoanOffer.statusCase03}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusCase03" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusCase04" value="Status Case 04:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusCase04" value="#{saleLoanOfferBean.saleLoanOffer.statusCase04}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusCase04" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase01" value="Status Allow Case 01:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusAllowCase01" value="#{saleLoanOfferBean.saleLoanOffer.statusAllowCase01}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase01" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase02" value="Status Allow Case 02:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusAllowCase02" value="#{saleLoanOfferBean.saleLoanOffer.statusAllowCase02}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase02" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase03" value="Status Allow Case 03:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusAllowCase03" value="#{saleLoanOfferBean.saleLoanOffer.statusAllowCase03}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase03" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase04" value="Status Allow Case 04:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferStatusAllowCase04" value="#{saleLoanOfferBean.saleLoanOffer.statusAllowCase04}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferStatusAllowCase04" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr01DecimalVal" value="Attr 01Decimal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr01DecimalVal" value="#{saleLoanOfferBean.saleLoanOffer.attr01DecimalVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr01DecimalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr02DecimalVal" value="Attr 02Decimal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr02DecimalVal" value="#{saleLoanOfferBean.saleLoanOffer.attr02DecimalVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr02DecimalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr03StringVal" value="Attr 03String Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr03StringVal" maxLength="50" value="#{saleLoanOfferBean.saleLoanOffer.attr03StringVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr03StringVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr04ShortVal" value="Attr 04Short Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr04ShortVal" value="#{saleLoanOfferBean.saleLoanOffer.attr04ShortVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr04ShortVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr05ShortVal" value="Attr 05Short Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr05ShortVal" value="#{saleLoanOfferBean.saleLoanOffer.attr05ShortVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr05ShortVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr06DecimalVal" value="Attr 06Decimal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr06DecimalVal" value="#{saleLoanOfferBean.saleLoanOffer.attr06DecimalVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr06DecimalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr07DecimalVal" value="Attr 07Decimal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr07DecimalVal" value="#{saleLoanOfferBean.saleLoanOffer.attr07DecimalVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr07DecimalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr08DecimalVal" value="Attr 08Decimal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr08DecimalVal" value="#{saleLoanOfferBean.saleLoanOffer.attr08DecimalVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr08DecimalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferAttr09DecimalVal" value="Attr 09Decimal Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanOfferBeanSaleLoanOfferAttr09DecimalVal" value="#{saleLoanOfferBean.saleLoanOffer.attr09DecimalVal}"/>
					<h:message for="saleLoanOfferBeanSaleLoanOfferAttr09DecimalVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferSaleLoanOfferGuarantors" value="Sale Loan Offer Guarantors:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{saleLoanOfferBean.saleLoanOffer.saleLoanOfferGuarantors}"/>
					<h:dataTable id="saleLoanOfferBeanSaleLoanOfferSaleLoanOfferGuarantors" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Cust Grt No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferGuarantor/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemCustGrtNo" value="#{_item.custGrtNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferGuarantorBeanAddCustGrtNo" value="#{saleLoanOfferGuarantorBean.add.custGrtNo}"/>
								<h:message for="saleLoanOfferGuarantorBeanAddCustGrtNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Occupation No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferGuarantor/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemOccupationNo" value="#{_item.occupationNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferGuarantorBeanAddOccupationNo" value="#{saleLoanOfferGuarantorBean.add.occupationNo}"/>
								<h:message for="saleLoanOfferGuarantorBeanAddOccupationNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Id Card No"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferGuarantor/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemIdCardNo" value="#{_item.idCardNo}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferGuarantorBeanAddIdCardNo" maxLength="20" value="#{saleLoanOfferGuarantorBean.add.idCardNo}"/>
								<h:message for="saleLoanOfferGuarantorBeanAddIdCardNo" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Id Card Issued Date"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferGuarantor/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemIdCardIssuedDate" value="#{_item.idCardIssuedDate}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferGuarantorBeanAddIdCardIssuedDate" maxLength="10" value="#{saleLoanOfferGuarantorBean.add.idCardIssuedDate}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="saleLoanOfferGuarantorBeanAddIdCardIssuedDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Id Card Expire Date"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferGuarantor/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemIdCardExpireDate" value="#{_item.idCardExpireDate}">
									<f:convertDateTime type="date"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferGuarantorBeanAddIdCardExpireDate" maxLength="10" value="#{saleLoanOfferGuarantorBean.add.idCardExpireDate}">
									<f:convertDateTime type="date"/>
								</h:inputText>
								<h:message for="saleLoanOfferGuarantorBeanAddIdCardExpireDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(saleLoanOfferGuarantorBean.added)}" id="saleLoanOfferBeanSaleLoanOfferSaleLoanOfferGuarantorsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{saleLoanOfferGuarantorBean.add.saleLoanOffer}" value="#{saleLoanOfferBean.saleLoanOffer}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanOfferBeanSaleLoanOfferSaleLoanOfferDiscretions" value="Sale Loan Offer Discretions:"/>
				<h:panelGroup>
					<ui:param name="_collection" value="#{saleLoanOfferBean.saleLoanOffer.saleLoanOfferDiscretions}"/>
					<h:dataTable id="saleLoanOfferBeanSaleLoanOfferSaleLoanOfferDiscretions" styleClass="data-table" value="#{forgeview:asList(_collection)}" var="_item">
						<h:column>
							<f:facet name="header">
								<h:outputText value="Discretion Date"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferDiscretion/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemDiscretionDate" value="#{_item.discretionDate}">
									<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
								</h:outputText>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferDiscretionBeanAddDiscretionDate" maxLength="19" value="#{saleLoanOfferDiscretionBean.add.discretionDate}">
									<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
								</h:inputText>
								<h:message for="saleLoanOfferDiscretionBeanAddDiscretionDate" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Limit Rate Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferDiscretion/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemLimitRateVal" value="#{_item.limitRateVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferDiscretionBeanAddLimitRateVal" value="#{saleLoanOfferDiscretionBean.add.limitRateVal}"/>
								<h:message for="saleLoanOfferDiscretionBeanAddLimitRateVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Exceed Rate Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferDiscretion/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemExceedRateVal" value="#{_item.exceedRateVal}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferDiscretionBeanAddExceedRateVal" value="#{saleLoanOfferDiscretionBean.add.exceedRateVal}"/>
								<h:message for="saleLoanOfferDiscretionBeanAddExceedRateVal" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Dc 01Is Used"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferDiscretion/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemDc01IsUsed" value="#{_item.dc01IsUsed}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferDiscretionBeanAddDc01IsUsed" maxLength="1" value="#{saleLoanOfferDiscretionBean.add.dc01IsUsed}"/>
								<h:message for="saleLoanOfferDiscretionBeanAddDc01IsUsed" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column>
							<f:facet name="header">
								<h:outputText value="Dc 01Val"/>
							</f:facet>
							<h:link outcome="/form/saleLoanOfferDiscretion/view">
								<f:param name="id" value="#{_item.id}"/>
								<h:outputText id="itemDc01Val" value="#{_item.dc01Val}"/>
							</h:link>
							<f:facet name="footer">
								<h:inputText id="saleLoanOfferDiscretionBeanAddDc01Val" value="#{saleLoanOfferDiscretionBean.add.dc01Val}"/>
								<h:message for="saleLoanOfferDiscretionBeanAddDc01Val" styleClass="error"/>
							</f:facet>
						</h:column>
						<h:column footerClass="remove-column" headerClass="remove-column">
							<h:commandLink action="#{_collection.remove(_item)}" styleClass="remove-button"/>
							<f:facet name="footer">
								<h:commandLink action="#{_collection.add(saleLoanOfferDiscretionBean.added)}" id="saleLoanOfferBeanSaleLoanOfferSaleLoanOfferDiscretionsAdd" styleClass="add-button">
									<f:setPropertyActionListener target="#{saleLoanOfferDiscretionBean.add.saleLoanOffer}" value="#{saleLoanOfferBean.saleLoanOffer}"/>
								</h:commandLink>
							</f:facet>
						</h:column>
					</h:dataTable>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{saleLoanOfferBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty saleLoanOfferBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{saleLoanOfferBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{saleLoanOfferBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>